home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2003 July
/
Chip_2003-07_cd1.bin
/
oddech
/
srp
/
Stress Relief Paintball.exe
/
scripts
/
frame_196
/
DoAction.as
Wrap
Text File
|
2002-07-26
|
491b
|
20 lines
hitrate = Math.round(hits / totalshots * 100);
if(isNaN(hitrate))
{
hitrate = 0;
}
messages.level = "Level " + level;
messages.score = "your score: " + score;
messages.shots = "shots fired: " + actualshots;
messages.hitrate = "your hit rate: " + hitrate + "%";
if(50 < hitrate)
{
messages.message = "nice shooting time for the next level";
}
else
{
messages.message = "oh dear ! you didn\'t shoot well enough for the next round";
blnGameOver = true;
}
stop();